package com.hornsun.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by 编译中... on 2018/4/12.
 */
@Component
public class ConfigInfo {

    @Value("${udp.port}")
    private Integer port;

    @Value("${initialPassword}")
    private String initialPassword;

    @Value("${param.max-offline-days}")
    private Integer maxOfflineDays;

    @Value("${super.role-guid}")
    private String superRoleGuid;

    @Value("${redis_key.accountInfo}")
    private String redisAccount;

    @Value("${redis_key.permissionInfo}")
    private String redisPermission;

    @Value("${redis_key.authInfo}")
    private String redisAuthInfo;

    public Integer getPort() {
        return port;
    }

    public String getInitialPassword() {
        return initialPassword;
    }

    public Integer getMaxOfflineDays() {
        return maxOfflineDays;
    }

    public String getSuperRoleGuid() {
        return superRoleGuid;
    }

    public String getRedisAccount() {
        return redisAccount;
    }

    public String getRedisPermission() {
        return redisPermission;
    }

    public String getRedisAuthInfo() {
        return redisAuthInfo;
    }
}
